Repository navigation
Add a native iPhone app (mobile/) and native sign-in - #1
Conversation
Published from the private repository by oss-sync. - Add a native iPhone app (mobile/) and native sign-in 92 files changed, 17225 insertions(+), 9 deletions(-)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 534f43403f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| export async function saveConnection(next: Connection) { | ||
| localStorage.setItem(BASE_KEY, next.baseUrl) |
There was a problem hiding this comment.
Isolate the local log when changing servers
When a revoked or expired session returns the user to Connect, they can change the address and sign in to another server; this function replaces baseUrl but leaves krakatoa.state.v1 and the in-memory store intact. startSync() then marks that old log pending and pushes it to the newly selected server, leaking one server's food history into another and corrupting the destination log. Clear or namespace server-owned state whenever next.baseUrl differs from the stored address.
AGENTS.md reference: mobile/AGENTS.md:L29-L35
Useful? React with 👍 / 👎.
| }, 400) | ||
| return () => clearTimeout(t) |
There was a problem hiding this comment.
Abort restaurant searches when the query changes
If the first request has already started when the user edits the query, this cleanup only clears the expired timer and leaves the request running. A slower response for the old query can therefore execute setState after the newer response and display unrelated restaurant results under the current text; use an AbortController and abort it in the cleanup, as the main food search does.
AGENTS.md reference: AGENTS.md:L233-L234
Useful? React with 👍 / 👎.
Published from the private repository by oss-sync.
92 files changed, 17225 insertions(+), 9 deletions(-)